<script>
	import {login, getUserInfo} from '/utils/login.js';
	export default {
		onLaunch: function() {
			login().then(res => {
				getUserInfo();
			})
		},
		onShow: function() {

		},
		onHide: function() {

		},
		methods: {
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import url("@/static/scss/generate.scss");
	@import url("@/static/scss/expand.scss");

	.theme-color {
		color: #25AFFF;
	}

	.theme-bg {
		background-color: #25AFFF;
	}

	.theme-border {
		border-color: #25AFFF;
	}
	
	.ellipsis {
	  white-space: nowrap; /* 防止文本换行 */
	  overflow: hidden; /* 隐藏溢出的文本 */
	  text-overflow: ellipsis; /* 当文本溢出时显示省略号 */
	}
</style>